/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.zaahir.assignment2.ISP.Conf;

import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import za.ac.cput.zaahir.assignment2.ISP.Impl.Bank;
import za.ac.cput.zaahir.assignment2.ISP.Impl.BankDep;
import za.ac.cput.zaahir.assignment2.ISP.Impl.BankTransaction;
import za.ac.cput.zaahir.assignment2.ISP.Impl.BankWithdrawel;

/**
 *
 * @author Nashief
 */ 
@Configurable
public class AppConf {
    @Bean 
    public Bank b()
    {
        return new Bank();
    }
    @Bean 
    public BankDep bd() 
    {
        return new BankDep();
    }
    @Bean 
    public BankTransaction bt()
    {
        return new BankTransaction();
    }
    @Bean 
    public BankWithdrawel bwd()
    {
        return new BankWithdrawel();
    }
}
